package com.ly.drivingschool.dao;

import com.ly.drivingschool.pojo.Dict;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface DictDao {
    int deleteByPrimaryKey(Integer dictId);

    int insert(Dict record);

    int insertSelective(Dict record);

    Dict selectByPrimaryKey(Integer dictId);

    int updateByPrimaryKeySelective(Dict record);

    int updateByPrimaryKey(Dict record);
    // 获取字典值
    List<Dict> getByBelong(String belongValue);
}